package com.wz.project.bas.department.service;


import com.wz.project.bas.department.domain.Department;

import java.util.List;

/**
 * 领用部门 服务层
 * 
 * @author sys
 * @date 2021-10-28
 */
public interface IDepartmentService 
{
	/**
     * 查询领用部门信息
     * 
     * @param departmentId 领用部门ID
     * @return 领用部门信息
     */
	public Department selectDepartmentById(String departmentId);
	
	/**
     * 查询领用部门列表
     * 
     * @param department 领用部门信息
     * @return 领用部门集合
     */
	public List<Department> selectDepartmentList(Department department);
	
	/**
     * 新增领用部门
     * 
     * @param department 领用部门信息
     * @return 结果
     */
	public int insertDepartment(Department department);
	
	/**
     * 修改领用部门
     * 
     * @param department 领用部门信息
     * @return 结果
     */
	public int updateDepartment(Department department);
		
	/**
     * 删除领用部门信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteDepartmentByIds(String ids);
	
}
